from fake_useragent import UserAgent
#实例化一个对象
ua=UserAgent()

print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )
print(ua.random )